<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	pageContext.setAttribute("path",path);
%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>权限管理</title>

<jsp:include page="../../head.jsp" />

<style type="text/css">
#main_left_menu .function{
	padding:1px;
}
#main_left_menu .function:hover{
	background-color:#ccc;
}
</style>

<script type="text/javascript">
Common.path = "${path}";
$(function(){
	//计算当前浏览器高度和宽度。
	var height = $(window).height();
	$("#main1").css("height",height);
	$('#main1').layout(); 
	
	$(window).resize( function(){
		var height = $(window).height();
		$("#main1").css("height",height);
		$('#main1').layout(); 
	});
	
	//左侧导航栏
	$("#main_left_menu").accordion({
		fit:true
	});
});

</script>

<link />

</head>
<body class="">
<div id="main1" class="easyui-layout" style="">

	<div region="north"  style="height:50px" border="false">
		<div id="">
			<span>欢迎您,${sessionScope.loginUser.nickname}!,</span>
			<span><a href="${path}/logout" >登出</a></span>
		</div>
	</div>
	
	<div  region="west" split="true"  style="width:150px; " border="false" >
		<div id="main_left_menu" class="easyui-accordion"  >
			<div title="权限管理"  style="" >
				<div class="function" style="" >
					<div style="margin:auto;width:50px;"><a href="javascript:void(0)" onclick="User.loadUserList()" >用户管理</a></div>
				</div>
				<div class="function">
					<div style="margin:auto;width:50px;"><a href="javascript:void(0)" data-pjax='#rolegrouplist' onclick="RoleGroup.loadRoleGroupList()"  >角色管理</a></div>
				</div>
				<div class="function">
					
				</div>
			</div>
			<div title="title2"  ></div>
			<div title="title2" ></div>
		</div>
	</div>

	<div region="center"  >
		<div id="main_right">
			<jsp:include page="rolegroup_index.jsp" />
		</div>
	</div>
	
	<div region="south"  style="height:20px" border="false" >
		<div id="main_bottom" style="width:100px;margin:0 auto">版权所有</div>
	</div>
</div>
</body>
</html>









